package com.sgit.ois.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.sleuth.zipkin.stream.EnableZipkinStreamServer;


/**
 * 项目启动类
 * @author issuser
 *
 */
@SpringBootApplication
@EnableEurekaClient
@EnableZipkinStreamServer
public class StartOISCloudApp {
	
	public static void main(String[] args) {
		SpringApplication.run(StartOISCloudApp.class, args);
	}

	/*@Bean
	public MySQLStorage mySQLStorage(DataSource datasource) {
		return MySQLStorage.builder().datasource(datasource).executor(Runnable::run).build();
	}*/
}
